package com.chat.domain.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 群聊实体类
 *
 * @author wb
 * @since 2025-06-05
 */

@EqualsAndHashCode(callSuper = true)
@Data
public class Group extends BasePOJO {

    private String name;

    private String avatar;

    private String remark;

    private String description;

    @TableField(exist = false)
    private Integer unreadCount;


    @TableField(exist = false)
    private List<User> members;
}
